import { Module } from '@nestjs/common';
import { DiaryController } from './diary.controller';
import { DiaryService } from './diary.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Diary, DiaryBill } from './diary.entity';
import { AuthService } from 'src/services/Auth';
import { VipInfoService } from 'src/vipInfo/vipInfo.service';
import { VipUsageService } from 'src/vipUsage/vipUsage.service';
import { VipInfo } from 'src/vipInfo/vipinfo.entity';
import { Goods } from 'src/goods/goods.entity';
import { VipUsage } from 'src/vipUsage/vipUsage.entity';
import jwt from 'src/config/jwt';
@Module({
  imports: [TypeOrmModule.forFeature([Diary, DiaryBill, VipInfo, VipUsage, Goods]), jwt],
  controllers: [DiaryController],
  providers: [DiaryService, AuthService, VipInfoService, VipUsageService],
})
export class DiaryModule { }
